﻿package view.appDrag
{
    import flash.display.*;
    import flash.events.*;
    import flash.geom.*;

    public class AppDragEvent extends Event
    {
        private var mTargetObj:DisplayObject = null;
        private var mItemObj:Object = null;
        private var mHitPoint:Point = null;
        public static const CLINGY:String = "clingy";
        public static const DRAG:String = "drag";

        public function AppDragEvent(param1:String, param2:DisplayObject, param3:Object, param4:Point, param5:Boolean = false, param6:Boolean = false)
        {
            super(param1, param5, param6);
            this.mTargetObj = param2;
            this.mItemObj = param3;
            this.mHitPoint = param4;
            return;
        }// end function

        public function get targetObj() : DisplayObject
        {
            return this.mTargetObj;
        }// end function

        public function get itemData() : Object
        {
            return this.mItemObj;
        }// end function

        public function get hitPoint() : Point
        {
            return this.mHitPoint;
        }// end function

    }
}
